package com.clementheliou.cheliou.business.technical.fest.assertions;

import org.fest.assertions.api.Assertions;

import com.clementheliou.cheliou.business.technical.security.authentication.model.AuthenticationDetails;
import com.clementheliou.cheliou.business.technical.security.authentication.model.fest.asserter.AuthenticationDetailsAsserter;

/**
 * Entry point for assertion methods of the project, including the FEST library ones.
 * 
 * @author Clément HELIOU (clement.heliou@gmail.com)
 * @see {@link Assertions}.
 * @since 1.0
 */
public class CHeliouBusinessAssertions extends Assertions {

	/**
	 * Static factory for the {@link AuthenticationDetails} instances.
	 * 
	 * @author Clément HELIOU (clement.heliou@gmail.com)
	 * @param actual the {@link AuthenticationDetails} instance to be asserted.
	 * @return the {@link AuthenticationDetailsAsserter} to be used.
	 * @see {@link AuthenticationDetailsAsserter}.
	 * @since 1.0
	 */
	public static AuthenticationDetailsAsserter assertThat(final AuthenticationDetails actual) {
		return new AuthenticationDetailsAsserter(actual);
	}
}
